<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: caicf
  Date: 2016/7/14
  Time: 22:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <title>后台登录页面</title>
    <meta name="keywords" content="Bootstrap" />
    <meta name="description" content="" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- bootstrap -->
    <link href="${ctx}/resources/css/bootstrap.css" rel="stylesheet">

    <!-- this page specific styles -->
    <link rel="stylesheet" href="${ctx}/resources/css/login.css" type="text/css"  />
    <!-- scripts -->
    <script src="${ctx}/resources/js/jquery-3.0.0.min.js"></script>
    <script src="${ctx}/resources/js/bootstrap.min.js"></script>

    <style type="text/css">
        body{
            /* 需要全屏的背景图片 */
            background:url('${ctx}/resources/images/landscape.jpg') no-repeat center center;
            /* 实现的关键 */
            background-size:cover;
        }
    </style>

</head>

<body>
<div class="container">

    <div class="login-wrapper">
        <a href="">
            <images class="logo" src="${ctx}/resources/images/logo-white.png">
        </a>

        <div class="box">
            <div class="content-wrap">
                <h6></h6>
                <form action="${ctx}/sys/login" method="post">
                    <input class="form-control" type="text" name="username" placeholder="用户名">
                    <input class="form-control" type="password" name="password" placeholder="密码">
                    <div class="row">
                        <div class="col-md-5">
                            <input class="form-control" type="text" placeholder="验证码">
                        </div>
                        <div class="col-md-7">
                            <images alt="验证码" title="点击更换" id="images_captcha" height="30px;" width="90px;" onclick="this.src='${ctx}/code/code?d='+Math.random();" src="${ctx}/code/code" />
                            <a id="kanbuq" onclick="javascript:refreshCaptcha();" href="">换一张</a>
                        </div>
                    </div>

                    <div class="row">
                        <div class="remember col-md-5">
                            <input id="remember-me" type="checkbox">
                            <label for="remember-me">记住密码</label>
                        </div>
                        <div class="col-md-7">
                            <a href="#" class="forgot">忘记密码?</a>
                        </div>
                    </div>
                    <input type="submit" class="btn-glow primary login" value="登录" />
                </form>
            </div>
        </div>

        <div class="copy-rights">
            <p>Copyright &copy; 2015.Company name All rights reserved.More Templates </p>
        </div>
    </div>
</div>
</body>
</html>
